package assignment1;

/*
 * @author Lachlan Collins JC198809
 */
public class Inventory {

    public String getName() {
        return itemName;
    }

    public void setName(String itemName) {
        this.itemName = itemName;
    }

    public int getQty() {
        return itemQuantity;
    }

    public void setQty(int itemQuantity) {
        this.itemQuantity = itemQuantity;
    }

    public Inventory getNext() {
        return nextItem;
    }

    public void setNext(Inventory nextItem) {
        this.nextItem = nextItem;
    }
    private String itemName;
    private int itemQuantity;
    private Inventory nextItem = null;
}
